package com.open.capacity.recuritment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.capacity.common.model.CrmIndustry;
import com.open.capacity.common.model.SysUser;
import com.open.capacity.recuritment.Dto.IndustryDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Vector;

/**
 * @description:
 * @date:2021/5/19 下午6:37
 * @author:jxy
 */
@Mapper
public interface IIndustryDao extends BaseMapper<CrmIndustry> {

    Vector<CrmIndustry> findIndustry(@Param("pid") Long pid);

    Vector<CrmIndustry> findPosition(Long pid);

    Vector<IndustryDto> selectUnemployed(@Param("industry") Long industry, @Param("position") Long position,
                                         @Param("employedStatus") Long employedStatus, @Param("page")Long page,
                                         @Param("limit")Long limit);

    List<IndustryDto> findList(Map<String, Object> params);
}
